package com.hongye.proprietary.controller.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Service;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;


@Data
@Service
@AllArgsConstructor
@NoArgsConstructor
public class SmsVerificationCodeVo {
    //@Pattern(regexp = "^1(3|4|5|7|8|9)\\d{9}$",message = "手机号码格式错误")
    private String telephone;

    //@NotNull(message = "账号不能为空", groups = {GroupA.class})
    private String account;

    /** 水平坐标的偏移量,即X坐标 */
    private int offsetHorizontal;
}
